#include "e2d/core/audio/components.h"
#include "e2d/core/Entity.h"

using namespace e2d::audio;

std::vector<std::string> Components::m_Labels= {
     AudioClips::_Label_() 
    };

bool Components::AddComponent(e2d::Entity* entity,const e2d::ComponentType& type)
{
    bool flag{ 0 };
    flag |= entity->AddComponentFromType<e2d::AudioClips>(type);
    
    return flag;
}
bool Components::CopyComponents(const e2d::Entity* source, e2d::Entity* target)
{
    bool flag{0};

    flag|= target->CopyComponent<e2d::AudioClips>(source);
    return flag;
};

